import type { GetServerSidePropsContext } from 'next';

export function getAuthInfo(context: GetServerSidePropsContext) {
  // const token = context.req.cookies.access_token ?? "";
  const token = context.req.cookies.token ?? '';
  return {
    token,
  };
}
